Exemplo n.º 1
0
 public UIntArray(bool ordered, int capacity, UIntMode mode, bool little)
 {
     this.uintmode     = mode;
     this.littleEndian = little;
     this.ordered      = ordered;
     bytebuffer        = new sbyte[capacity];
 }
Exemplo n.º 2
0
 public UIntArray(UIntArray array, UIntMode mode, bool little)
 {
     this.uintmode     = mode;
     this.littleEndian = little;
     this.ordered      = array.ordered;
     length            = array.length;
     bytebuffer        = new sbyte[length];
     JavaSystem.Arraycopy(array.bytebuffer, 0, bytebuffer, 0, length);
 }
Exemplo n.º 3
0
 static public UIntArray With(UIntMode mode, bool little, sbyte[] array)
 {
     return(new UIntArray(array, mode, little));
 }
Exemplo n.º 4
0
 static public UIntArray With(UIntMode mode, params sbyte[] array)
 {
     return(With(mode, false, array));
 }
Exemplo n.º 5
0
 public UIntArray(bool ordered, sbyte[] array, int startIndex, int count, UIntMode mode, bool little) : this(ordered, count, mode, little)
 {
     length = count;
     JavaSystem.Arraycopy(array, startIndex, bytebuffer, 0, count);
 }
Exemplo n.º 6
0
 public UIntArray(sbyte[] array, UIntMode mode, bool little) : this(true, array, 0, array.Length, mode, little)
 {
 }
Exemplo n.º 7
0
 public UIntArray(int capacity, UIntMode mode, bool little) : this(true, capacity, mode, little)
 {
 }
Exemplo n.º 8
0
 public UIntArray(UIntMode mode, bool little) : this(true, CollectionUtils.INITIAL_CAPACITY, mode, little)
 {
 }