buffer use in net