OffsetBufferExtensionsReadInt24 Method |
Reads a 24-bit int value from an OffsetBuffer and increments OffsetBuffer.Offset while
decrementing OffsetBuffer.Count.
Namespace: StreamCoders.HelpersAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic static int ReadInt24(
this OffsetBuffer<byte> buffer
)
<ExtensionAttribute>
Public Shared Function ReadInt24 (
buffer As OffsetBuffer(Of Byte)
) As Integer
public:
[ExtensionAttribute]
static int ReadInt24(
OffsetBuffer<unsigned char>^ buffer
)
[<ExtensionAttribute>]
static member ReadInt24 :
buffer : OffsetBuffer<byte> -> int
Parameters
- buffer
- Type: StreamCodersOffsetBufferByte
The buffer to read from.
Return Value
Type:
Int32
The 24-bit int value.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
OffsetBufferByte. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also