Constant BUF_SIZE

Source
pub const BUF_SIZE: usize = 256;
Available on crate feature ckb-types only.
Expand description

Default buffer size, it is used to load data from syscall. The default value is set to 256, which will be enough for most cases:

  • load a Script, the typical size is 73 ~ 86
  • load a CellOutput, the typical size is 97 ~ 195