Skip to content

Commit f3226f5

Browse files
authored
fix binary data type table (#1536)
1 parent c9781ae commit f3226f5

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

book/types_of_data.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,14 @@ Closures are a useful way to represent code that can be executed on each row of
265265

266266
### Binary data
267267

268-
| | |
269-
| --------------------- | ---------------------------------------------------------------------------------------------- |
270-
| **_Description:_** | Describes a range of values from a starting value to an ending value, with an optional stride. |
271-
| **_Annotation:_** | `range` |
272-
| **_Literal Syntax:_** | `<start_value>..<end_value> or `<start_value>..<second_value>..<end_value>. E.g., `1..10`. |
273-
| **_See also:_** | [Language Guide - Binary](/lang-guide/chapters/types/basic_types/binary.md) |
268+
| | |
269+
| --------------------- | --------------------------------------------------------------------------- |
270+
| **_Description:_** | Represents binary data |
271+
| **_Annotation:_** | `binary` |
272+
| **_Literal Syntax:_** | `0x[ffffffff]` - hex-based binary representation |
273+
| | `0o[1234567]` - octal-based binary representation |
274+
| | `0b[10101010101]` - binary-based binary representation |
275+
| **_See also:_** | [Language Guide - Binary](/lang-guide/chapters/types/basic_types/binary.md) |
274276

275277
Binary data, like the data from an image file, is a group of raw bytes.
276278

0 commit comments

Comments
 (0)