mysql-native v2.2.2
API Reference Home: [This Version] [Latest Version] [Other Versions]
pack - multiple declarations
Function pack
Function to pack a TimeOfDay into a binary encoding for transmission to the server.
					
			ubyte[] pack
			(
			
			  const(std
			) pure nothrow;
					
				
			Time/date structures are packed into a string of bytes with a leading length byte, and a minimal number of bytes to embody the data.
Parameters
| Name | Description | 
|---|---|
| tod | TimeOfDay struct. | 
Returns
Packed ubyte[].
Function pack
Function to pack a Date into a binary encoding for transmission to the server.
					
			ubyte[] pack
			(
			
			  const(std
			) pure nothrow;
					
				
			Time/date structures are packed into a string of bytes with a leading length byte, and a minimal number of bytes to embody the data.
Parameters
| Name | Description | 
|---|---|
| dt | stdstruct. | 
Returns
Packed ubyte[].
Function pack
Function to pack a DateTime into a binary encoding for transmission to the server.
					
			ubyte[] pack
			(
			
			  const(std
			) pure nothrow;
					
				
			Time/date structures are packed into a string of bytes with a leading length byte, and a minimal number of bytes to embody the data.
Parameters
| Name | Description | 
|---|---|
| dt | stdstruct. | 
Returns
Packed ubyte[].