/// <summary> /// Decodes one or a list of T from the buffer and advances the buffer's position. /// </summary> /// <param name="buffer">The buffer to read.</param> /// <returns>One or a list of T.</returns> public static Multiple <T> DecodeMultiple <T>(ByteBuffer buffer) { return(Multiple <T> .Decode(buffer)); }