Shift JIS Encoding


Does anybody know where I can find an explanation of the encoding of Shift JIS characters (JIS X 0208). I have googled for it but the only explanations I can find are confused and incomplete. I need to convert an 8-bit Shift JIS stream to 13-bit character codewords.

Thanks for any help.