Class Struct

java.lang.Object
com.knowm.xchange.serum.structures.Struct
Direct Known Subclasses:
AccountFlagsLayout, EventFlagsLayout, EventQueueLayout.HeaderLayout, EventQueueLayout.NodeLayout, MarketLayout, MintLayout

public class Struct
extends Object
  • Field Details

    • valueMask

      public int valueMask
  • Constructor Details

    • Struct

      public Struct()
    • Struct

      public Struct​(int bits)
  • Method Details

    • fixBitwiseResult

      public int fixBitwiseResult​(int v)
    • booleanFlagsDecoder

      public boolean[] booleanFlagsDecoder​(byte[] bytes, int width)
    • decodeLong

      public static long decodeLong​(byte[] bytes)