MakeBinaryLiteral
No overview available.
def MakeBinaryLiteral(
v: []byte
) - > *core.Literal
Constructs a new core.Literal object that encapsulates a binary scalar value. This function is used to create a literal representation of binary data within the core system, typically for serialization or data interchange.
Parameters
| Name | Type | Description |
|---|---|---|
| v | []byte | The byte slice representing the binary data to be encapsulated within the literal. |
Returns
| Type | Description |
|---|---|
*core.Literal | A pointer to a core.Literal object containing the provided binary data as a scalar value. |