コード例 #1
0
 public static void PutLongB(AbstractIoBuffer bb, int bi, long x)
 {
     bb.PutInternal(bi + 0, Long7(x));
     bb.PutInternal(bi + 1, Long6(x));
     bb.PutInternal(bi + 2, Long5(x));
     bb.PutInternal(bi + 3, Long4(x));
     bb.PutInternal(bi + 4, Long3(x));
     bb.PutInternal(bi + 5, Long2(x));
     bb.PutInternal(bi + 6, Long1(x));
     bb.PutInternal(bi + 7, Long0(x));
 }
コード例 #2
0
 public static void PutShortB(AbstractIoBuffer bb, int bi, short x)
 {
     bb.PutInternal(bi + 0, Short1(x));
     bb.PutInternal(bi + 1, Short0(x));
 }
コード例 #3
0
 public static void PutIntB(AbstractIoBuffer bb, int bi, int x)
 {
     bb.PutInternal(bi + 0, Int3(x));
     bb.PutInternal(bi + 1, Int2(x));
     bb.PutInternal(bi + 2, Int1(x));
     bb.PutInternal(bi + 3, Int0(x));
 }
コード例 #4
0
 public static void PutCharB(AbstractIoBuffer bb, int bi, char x)
 {
     bb.PutInternal(bi + 0, Char1(x));
     bb.PutInternal(bi + 1, Char0(x));
 }