---
title: "read_byte method"
url: "https://reference.aspose.com/cad/python-net/aspose.cad/filestreamcontainer/read_byte/"
product: "Aspose.CAD for Python via .NET API References"
---


## read_byte {#}

Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.


### Returns 


The unsigned byte cast to an Int32, or -1 if at the end of the stream.


```python
def read_byte(self):
    ...
```





### See Also
* module [`aspose.cad`](../../)
* class [`FileStreamContainer`](/cad/python-net/aspose.cad/filestreamcontainer)
