/// <summary> /// Read the ushort pack count /// </summary> private ushort ReadPackCount(byte[] buffer) { StreamUtil.TryReadGreedy(this.source, buffer, 0, 2); return(BitConverter.ToUInt16(buffer, 0)); }