update sample code
Merge branch 'new_interface' into constant_class
fix return value type
bug fix
Merge branch 'new_interface' into constant_class
Merge pull request #38 from 0x0c/new_interface

定数の型を定義
Merge branch 'develop' into constant_class
implement method to return data length.