Crate chess_huffman Copy item path Source EncodedGame Representation of an encoded chess game. GameDecodeError Error when decoding an encoded bit vector into a game, because the bit vector is invalid. GameEncodeError Error when encoding a chess game. MoveByMoveDecoder Iterator to decode a game move by move, rather than all at once.
This allows for more fine-grained processing than decode_game . MoveByMoveEncoder An encoder that lets you add moves one-by-one, rather than a whole game at once. EncodedGameConstructionError Error that may occur when constructing an EncodedGame from bytes. GameEncodeErrorKind Kind of error when encoding a chess game. decode_game Decodes a bit vector into a game, returning both a vector of all moves
and all positions. The N’th position in the position vector is the
position after the N’th move in the move vector. encode_game Encodes a chess game into a compressed bit vector. encode_pgn Encodes a chess game, represented as a PGN (Portable Game Notation), into a compressed bit vector. encode_pgn_file Encodes a chess game, stored in a PGN file, into a compressed bit vector. DecodeResult The result of a decoding operation. EncodeResult The result of an encoding operation.