NAME
SPVM::IO::Stdout - Standard out
SYNOPSYS
use SPVM::IO::Stdout;
# Print string to stdout
SPVM::IO::Stdout->print("Hello");
DESCRIPTION
SPVM::IO::Stdout manipulate standard output stream.
CLASS METHODS
AUTO_FLUSH
sub AUTO_FLUSH : byte ()
Get auto flash flag. Default auto flush flag is 0.
SET_AUTO_FLUSH
sub SET_AUTO_FLUSH : void ($bool : byte)
Set auto flush flag.
sub print : void ($string : string)
Print string to stdout.
If auto flush flag(AUTO_FLUSH) is true, flush buffered data to stdout after print
method call.
flush
sub flush : void ()
Flush buffered data to stdout. If error, a exception occur.