public byte[] serialize(float value)
 {
     return(EzyBytes.getBytes(cast(0xca), value));
 }
 private byte[] parse64(long value)
 {
     return(EzyBytes.getBytes(0xd3, value, 8));
 }
 public byte[] serialize(double value)
 {
     return(EzyBytes.getBytes(cast(0xcb), value));
 }
 private byte[] parse16(long value)
 {
     return(EzyBytes.getBytes(0xd1, value, 2));
 }
 private byte[] parse32(long value)
 {
     return(EzyBytes.getBytes(0xd2, value, 4));
 }
 private byte[] parse32(int size)
 {
     return(EzyBytes.getBytes(0xdf, size, 4));
 }
 private byte[] parse8(long value)
 {
     return(EzyBytes.getBytes(0xd0, value, 1));
 }
 private byte[] parse8(int size)
 {
     return(EzyBytes.getBytes(0xd9, size, 1));
 }
 private byte[] parse16(int size)
 {
     return(EzyBytes.getBytes(0xde, size, 2));
 }
コード例 #10
0
 private byte[] parse16(long value)
 {
     return(EzyBytes.getBytes(0xd1, (short)value));
 }
コード例 #11
0
 private byte[] parseU64(long value)
 {
     return(EzyBytes.getBytes(0xcf, value));
 }
コード例 #12
0
 private byte[] parseU32(long value)
 {
     return(EzyBytes.getBytes(0xce, (int)value));
 }
コード例 #13
0
 private byte[] parseU8(long value)
 {
     return(EzyBytes.getBytes(0xcc, (byte)value));
 }
コード例 #14
0
 private byte[] parse16(int size)
 {
     return(EzyBytes.getBytes(0xde, (short)size));
 }