update readme
This commit is contained in:
@@ -19,7 +19,9 @@ use strafesnet_roblox_bot_file::v0::{Block,BlockTimelines,FileHeader};
|
|||||||
let file=std::fs::read("bot_file")?;
|
let file=std::fs::read("bot_file")?;
|
||||||
let mut input=std::io::Cursor::new(file);
|
let mut input=std::io::Cursor::new(file);
|
||||||
|
|
||||||
|
// FileHeader is the first 16 bytes of the file.
|
||||||
let header=FileHeader::from_reader(&mut input)?;
|
let header=FileHeader::from_reader(&mut input)?;
|
||||||
|
// BlockTimelines is an index of the blocks within the file.
|
||||||
let timelines=BlockTimelines::from_reader(&header,&mut input)?;
|
let timelines=BlockTimelines::from_reader(&header,&mut input)?;
|
||||||
|
|
||||||
// offline blocks include the following event types:
|
// offline blocks include the following event types:
|
||||||
|
|||||||
Reference in New Issue
Block a user