System.Types.TBitConverter.UnsafeFrom
Delphi
class procedure UnsafeFrom<T>(const Value: T; var B: TArray<Byte>; Offset: Integer = 0); static; inline;
C++
void __fastcall TBitConverter::UnsafeFrom(const T Value, System::DynamicArray<System::Byte> &B, int Offset)
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Types.pas SystemTypes.h |
System.Types | TBitConverter |
Description
Fills the specified arrays of bytes with the specified value.
You may specify an Offset
so that From skips the specified number of bytes at the beginning of B
.
UnsafeFrom does not check that the specified value fits B
at the specified offset. If you want a function that performs this check for you on every call, use From instead.