
**Summary:** 

**Module:** [aspose.gis.common](/psd/python-net/aspose.gis.common/)

**Full Name:** aspose.gis.common.BinaryConverter

**Aspose.PSD Version:** 25.9.0

## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| big_endian [static] | [BinaryConverter](/psd/python-net/aspose.gis.common/binaryconverter) | r |    |
| little_endian [static] | [BinaryConverter](/psd/python-net/aspose.gis.common/binaryconverter) | r |    |
## **Methods**
| **Name** | **Description** |
| :- | :- |
| [get_bytes(value)](#get_bytes_value_1) |    |
| [get_bytes(value)](#get_bytes_value_2) |    |
| [get_bytes(value)](#get_bytes_value_3) |    |
| [get_bytes(value)](#get_bytes_value_4) |    |
| [get_bytes(value)](#get_bytes_value_5) |    |
| [get_bytes(value)](#get_bytes_value_6) |    |
| [get_bytes(value)](#get_bytes_value_7) |    |
| [get_bytes(value)](#get_bytes_value_8) |    |
| [get_bytes(value)](#get_bytes_value_9) |    |
| [get_bytes(value)](#get_bytes_value_10) |    |
| [to_boolean(value, start_index)](#to_boolean_value_start_index_11) |    |
| [to_char(value, start_index)](#to_char_value_start_index_12) |    |
| [to_double(value, start_index)](#to_double_value_start_index_13) |    |
| [to_int16(value, start_index)](#to_int16_value_start_index_14) |    |
| [to_int32(value, start_index)](#to_int32_value_start_index_15) |    |
| [to_int64(value, start_index)](#to_int64_value_start_index_16) |    |
| [to_s_byte(value)](#to_s_byte_value_17) |    |
| [to_single(value, start_index)](#to_single_value_start_index_18) |    |
| [to_u_int16(value, start_index)](#to_u_int16_value_start_index_19) |    |
| [to_u_int32(value, start_index)](#to_u_int32_value_start_index_20) |    |
| [to_u_int64(value, start_index)](#to_u_int64_value_start_index_21) |    |


### Method: get_bytes(value) {#get_bytes_value_1}


```
 get_bytes(value) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | bool |  |

**Returns**

| Type | Description |
| :- | :- |
| byte |  |


### Method: get_bytes(value) {#get_bytes_value_2}


```
 get_bytes(value) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | short |  |

**Returns**

| Type | Description |
| :- | :- |
| byte |  |


### Method: get_bytes(value) {#get_bytes_value_3}


```
 get_bytes(value) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | int |  |

**Returns**

| Type | Description |
| :- | :- |
| byte |  |


### Method: get_bytes(value) {#get_bytes_value_4}


```
 get_bytes(value) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | long |  |

**Returns**

| Type | Description |
| :- | :- |
| byte |  |


### Method: get_bytes(value) {#get_bytes_value_5}


```
 get_bytes(value) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | char |  |

**Returns**

| Type | Description |
| :- | :- |
| byte |  |


### Method: get_bytes(value) {#get_bytes_value_6}


```
 get_bytes(value) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | ushort |  |

**Returns**

| Type | Description |
| :- | :- |
| byte |  |


### Method: get_bytes(value) {#get_bytes_value_7}


```
 get_bytes(value) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | uint |  |

**Returns**

| Type | Description |
| :- | :- |
| byte |  |


### Method: get_bytes(value) {#get_bytes_value_8}


```
 get_bytes(value) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | ulong |  |

**Returns**

| Type | Description |
| :- | :- |
| byte |  |


### Method: get_bytes(value) {#get_bytes_value_9}


```
 get_bytes(value) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | float |  |

**Returns**

| Type | Description |
| :- | :- |
| byte |  |


### Method: get_bytes(value) {#get_bytes_value_10}


```
 get_bytes(value) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | double |  |

**Returns**

| Type | Description |
| :- | :- |
| byte |  |


### Method: to_boolean(value, start_index) {#to_boolean_value_start_index_11}


```
 to_boolean(value, start_index) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | byte |  |
| start_index | int |  |

**Returns**

| Type | Description |
| :- | :- |
| bool |  |


### Method: to_char(value, start_index) {#to_char_value_start_index_12}


```
 to_char(value, start_index) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | byte |  |
| start_index | int |  |

**Returns**

| Type | Description |
| :- | :- |
| char |  |


### Method: to_double(value, start_index) {#to_double_value_start_index_13}


```
 to_double(value, start_index) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | byte |  |
| start_index | int |  |

**Returns**

| Type | Description |
| :- | :- |
| double |  |


### Method: to_int16(value, start_index) {#to_int16_value_start_index_14}


```
 to_int16(value, start_index) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | byte |  |
| start_index | int |  |

**Returns**

| Type | Description |
| :- | :- |
| short |  |


### Method: to_int32(value, start_index) {#to_int32_value_start_index_15}


```
 to_int32(value, start_index) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | byte |  |
| start_index | int |  |

**Returns**

| Type | Description |
| :- | :- |
| int |  |


### Method: to_int64(value, start_index) {#to_int64_value_start_index_16}


```
 to_int64(value, start_index) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | byte |  |
| start_index | int |  |

**Returns**

| Type | Description |
| :- | :- |
| long |  |


### Method: to_s_byte(value) {#to_s_byte_value_17}


```
 to_s_byte(value) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | byte |  |

**Returns**

| Type | Description |
| :- | :- |
| sbyte |  |


### Method: to_single(value, start_index) {#to_single_value_start_index_18}


```
 to_single(value, start_index) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | byte |  |
| start_index | int |  |

**Returns**

| Type | Description |
| :- | :- |
| float |  |


### Method: to_u_int16(value, start_index) {#to_u_int16_value_start_index_19}


```
 to_u_int16(value, start_index) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | byte |  |
| start_index | int |  |

**Returns**

| Type | Description |
| :- | :- |
| ushort |  |


### Method: to_u_int32(value, start_index) {#to_u_int32_value_start_index_20}


```
 to_u_int32(value, start_index) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | byte |  |
| start_index | int |  |

**Returns**

| Type | Description |
| :- | :- |
| uint |  |


### Method: to_u_int64(value, start_index) {#to_u_int64_value_start_index_21}


```
 to_u_int64(value, start_index) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | byte |  |
| start_index | int |  |

**Returns**

| Type | Description |
| :- | :- |
| ulong |  |


