public UIntArray(bool ordered, int capacity, UIntMode mode, bool little) { this.uintmode = mode; this.littleEndian = little; this.ordered = ordered; bytebuffer = new sbyte[capacity]; }
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); }
static public UIntArray With(UIntMode mode, bool little, sbyte[] array) { return(new UIntArray(array, mode, little)); }
static public UIntArray With(UIntMode mode, params sbyte[] array) { return(With(mode, false, array)); }
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); }
public UIntArray(sbyte[] array, UIntMode mode, bool little) : this(true, array, 0, array.Length, mode, little) { }
public UIntArray(int capacity, UIntMode mode, bool little) : this(true, capacity, mode, little) { }
public UIntArray(UIntMode mode, bool little) : this(true, CollectionUtils.INITIAL_CAPACITY, mode, little) { }